<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <CLRTestKind>BuildOnly</CLRTestKind>
    <IsTestProject>false</IsTestProject>
    <TargetFramework>$(NetCoreAppToolCurrent)</TargetFramework>
    <DisableRarCache>true</DisableRarCache>
    <DisablePackageAssetsCache>true</DisablePackageAssetsCache>
    <RuntimeIdentifiers>win-arm64;win-x64;win-x86;$(OutputRID)</RuntimeIdentifiers>
    <IncludeOOBLibraries>true</IncludeOOBLibraries>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Microsoft.Diagnostics.Tools.RuntimeClient" Version="$(MicrosoftDiagnosticsToolsRuntimeClientVersion)" />
    <PackageReference Include="xunit.analyzers" Version="$(XUnitAnalyzersVersion)" />
  </ItemGroup>

  <Target Name="Build" DependsOnTargets="$(TraversalBuildDependsOn)" />

  <Target Name="AddLibrariesToCoreRoot" BeforeTargets="CopyDependencyToCoreRoot" DependsOnTargets="ResolveLibrariesFromLocalBuild">
    <ItemGroup>
      <RuntimeCopyLocalItems Include="@(LibrariesRuntimeFiles)" />
    </ItemGroup>
  </Target>
</Project>
